using System;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Runtime.CompilerServices;
namespace Microsoft.Phone.Controls.Maps
{
	public class AttributionCollection : ReadOnlyObservableCollection<AttributionInfo>
	{
		public event NotifyCollectionChangedEventHandler CollectionChanged
		{
			[MethodImpl(32)]
			add
			{
				this.CollectionChanged = (NotifyCollectionChangedEventHandler)Delegate.Combine(this.CollectionChanged, value);
			}
			[MethodImpl(32)]
			remove
			{
				this.CollectionChanged = (NotifyCollectionChangedEventHandler)Delegate.Remove(this.CollectionChanged, value);
			}
		}
		public AttributionCollection(ObservableCollection<AttributionInfo> list) : base(list)
		{
		}
		protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
		{
			base.OnCollectionChanged(args);
			if (this.CollectionChanged != null)
			{
				this.CollectionChanged.Invoke(this, args);
			}
		}
	}
}
